package com.fingerth.myjsondemo;

import com.fingerth.myjsondemo.tab.Picture;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface PictureRepository extends JpaRepository<Picture, Long> {

//    @Query(value = "from Picture where id in :ids")
//    List<Picture> findByIdsIn(@Param("ids") List<Long> ids);

    List<Picture> findPicturesByIdIn(List<Long> ids);
}

